
<h1 id="titulo">Lista de Salas</h1>

<table class="tabla">
    <thead>
        <tr>
            <th>ID Sala</th>
            <th>Nombre</th>
            <th>Tarifa</th>
            <th>Ancho</th>
            <th>Largo</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($Salas as $Sala): ?>
        <tr>
            <td><a href="<?php echo url_for('sala/show?idsala='.$Sala->getIdsala()) ?>"><?php echo $Sala->getIdsala() ?></a></td>
            <td><?php echo $Sala->getNombre() ?></td>
            <td><?php echo $Sala->getTarifa() ?></td>
            <td><?php echo $Sala->getAncho() ?></td>
            <td><?php echo $Sala->getLargo() ?></td>
        </tr>
        <?php endforeach; ?>
    </tbody>
</table>

<a class="btn darkYellow" href="<?php echo url_for('sala/new') ?>">Agregar sala</a>
